<?php

class Radios extends ActiveRecord{
    public function lista($pais,$page){
        return $this->paginate_by_sql('select pais.pais,radios.* from pais,radios where pais.id=radios.pais_id and pais.id="'.$pais.'"',"page: $page", 'per_page: 12');
    }
}

?>
